package com.smartcampusbackend.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("resource_download")
public class ResourceDownload {
    @TableId(type = IdType.INPUT)
    private String id;
    
    // 资源信息
    private String resourceId;
    
    // 下载用户信息
    private String userId;
    private String userName;
    
    // 下载信息
    private LocalDateTime downloadTime;
    private String ipAddress;
    private String userAgent;
} 